<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Feedback extends SB_Controller {
	
	function __construct()
	{
		parent::__construct();
		$this->load->model('feedback_model', 'fb');
		$this->load->model('settings');
	}

	function index()
	{
		if (empty($_POST))
			die('0');

		echo (int)$this->fb->addLetter($_POST);
	}
}
?>